package com.sec.android.app.myfiles.module.local.category;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.sec.android.app.myfiles.R;
import com.sec.android.app.myfiles.fragment.home.HomeFragment;

/**
 * Created by daelight.kim on 2016-10-31.
 */
public class ListCategoryHomeItem extends CategoryHomeItem {
    ListCategoryHomeItem(Context context, HomeFragment fragment) {
        super(context, fragment);
    }

    @Override
    protected void setListItem() {
        super.setListItem();
        for (HomeItemInfo item : mItemList) {
            if (item.itemView != null) {
                TextView sizeView = (TextView) item.itemView.findViewById(R.id.home_list_item_text_second);
                setViewVisibility(sizeView, View.GONE);
            }
        }
    }

    @Override
    public void updateCategoryItemLayout() {
        /**
         * Do nothing
         */
    }
}
